<div class="container">
  
  <div class="span-17 main-content">
	<h1 class="cat"><%= @category.name %> </h1>
	
	<% @posts.each do |post|%>
		<%= render :partial => 'single_post', :locals => { :post => post }  %>
	<% end %>
	
	<%= paginate @posts %>
	</div>
	
	<%= render 'shared/sidebar' %>

</div>